export abstract class PlayerOwnModel extends Script{
    @mw.Property({multicast:true, replicated:true, onChanged:'ownerPlayerIDChanged'})
    public ownerPlayerID:number
    protected ownerPlayer:Player
    private ownerPlayerIDChanged(){
        this.ownerPlayer = Player.getPlayer(this.ownerPlayerID)
        this.onOwnerPlayerIDChanged()
    }
    protected onOwnerPlayerIDChanged(){ }
}